SpeedBooster\SBP_JS_Optimizer A

Total Complexity 54
Dependencies 1
Dependents 1
Total lines 374
Lines of code 149
Logical lines of code 93
Comment lines 87
Methods 11
Properties 13

Methods 11

Method Rating Maintainability Complexity Lines of code
optimize_scripts()
A
44 16 40
remove_excluded_scripts()
A
51 11 27
remove_footer_excluded_scripts()
S
61 5 12
check_script_types()
S
58 4 15
convert_inline_to_base64()
S
61 4 11
replace_comments_with_placeholders()
S
63 3 10
replace_placeholders_with_comments()
S
66 3 8
add_defer_attribute()
S
64 3 9
find_scripts_without_defer()
S
70 2 6
move_scripts()
S
69 2 6
__construct()
S
71 1 5